Task-shifting strategy for HTN control (TASSH) protocol